package com.Brave.manager.Demo06;

import java.io.IOException;
import java.net.*;

public class Demo01 {
    public static void main(String[] args) throws IOException {
        DatagramSocket ds = new DatagramSocket();

        byte[] bs= "你好 upd".getBytes();

        DatagramPacket dp = new DatagramPacket(bs,bs.length, InetAddress.getByName("192.168.31.69"),10086);

        ds.send(dp);

        ds.close();
    }
}
